body {
  margin: 0px;
  overflow: hidden;
}

.box {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  overflow: hidden;
}

.box img {
  display: block;
  /* width: 100%; */
  object-fit: cover;
}

.nav {
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 2rem;
  left: 0px;
  width: 100vw;
  z-index: 1000;
}

.nav label {
  display: inline-block;
  margin: 0.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.2rem 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

input[name='page']:checked + div {
  z-index: 100;
  animation: swipe-down 1s ease-in-out;
}

@keyframes swipe-down {
  0% {
    transform: translateX(-100%) rotate(0deg);
  }
  100% {
    transform: translateX(0%) rotate(360deg);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
